Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=
1146490
Forwarded: https://dovecot.org/mailman3/archives/list/dovecot@dovecot.org/thread/ANHNQSGJLW6AVONUG42Q7DKUODF47ZLS/
Forwarded: https://dovecot.org/mailman3/archives/list/dovecot@dovecot.org/thread/ANHNQSGJLW6AVONUG42Q7DKUODF47ZLS/
Gbp-Pq: Name bug1146490-buffer-resize.patch
/* Small parent buffer so avail reaches 0 quickly once the socket fills;
this is the congested state where the backpressure fix matters. */
- struct ostream *parent = o_stream_create_fd(fd[1], 4096);
+ struct ostream *parent = o_stream_create_fd(fd[1], 8192);
o_stream_set_no_error_handling(parent, TRUE);
struct ostream *chan0 = o_stream_create_multiplex(parent, SIZE_MAX,
OSTREAM_MULTIPLEX_FORMAT_STREAM);